<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

	<table class="table" targetType="dialog"  width="100%" layoutH="0">
		<thead>
			<tr>
				<th width="30" align="center" >序号</th>
				<th width="80" >收货人姓名</th>
				<th width="80" >省</th>
				<th width="80" >市</th>
				<th width="80" >县</th>
				<th width="200" >详细地址</th>
				<th width="80" >座机电话</th>
				<th width="80" >手机电话</th>
				<th width="40" >是否默认</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${addresses }" var="address" varStatus="status">
				<tr>	
						<td>${status.count}</td>
						<td>${address.name}</td>
						<td>${address.province.name}</td>
						<td>${address.city.name}</td>
						<td>${address.county.name}</td>
						<td>${address.address}</td>
						<td>${address.telPhone}</td>
						<td>${address.mobPhone}</td>
						<td>
						<c:if test="${address.isDefault == 1}">
							 默认地址
						</c:if>
						</td>
				</tr>
			</c:forEach>
			
	</tbody>
		</table>